package com.ly.heart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingFinancePayRefundDetailEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 付款退款单明细 Mapper 接口
 * </p>
 *
 * @author WuZH
 * @since 2024-08-04
 */
@Mapper
public interface KingFinancePayRefundDetailMapper extends BaseMapper<KingFinancePayRefundDetailEntity> {


    /**
     * 查询明细列表
     * @param kingFinancePayRefundDetailEntity
     * @return
     */
    List<KingFinancePayRefundDetailEntity> selectPayRefundDetailList ( KingFinancePayRefundDetailEntity kingFinancePayRefundDetailEntity );

    /**
     * 通过付款单Id和审批状态，查询已退列表
     *
     * @param payId
     * @param state
     * @return
     */
    List<KingFinancePayRefundDetailEntity> queryList ( String payId );

}
